package com.etc.service;

import java.util.List;

import com.etc.entity.Attractions;
import com.etc.util.PageData;
/**
 * cyf
 * @author Administrator
 *
 */
public interface AttractionsService {
	// 根据id删除景点
	boolean deleteByPrimaryKey(Integer attid);

	// 添加景点
	boolean insert(Attractions Attractions);

	// 添加景点
	boolean insertSelective(Attractions Attractions);

	// 根据id查询景点
	Attractions selectByPrimaryKey(Integer attid);

	// 查询所有景点
	List<Attractions> selectAll();

	// 根据字段动态修改景点
	boolean updateByPrimaryKeySelective(Attractions Attractions);

	// 根据id修改景点信息
	boolean updateByPrimaryKey(Attractions Attractions);
	 //分页+模糊查询layui
    PageData<Attractions>  selectByPage(int page, int limit,String context);
   
    
}
